using System;

public class ProtoId
{
	public const ushort CHeartbeat0 = 0;
	public const ushort SHeartbeat1 = 1;

	public static ushort Get(System.Type _Type)
	{
		if(typeof(Message.CHeartbeat0) == _Type) return 0;
		if(typeof(Message.SHeartbeat1) == _Type) return 1;
		return 0;
	}
}